package mvc;

public class User{
	
  public String username;
  private String firstname;	
  private String lastname;
  private boolean isadmin;
  private boolean photo;

  public User() {}

  public User(String u, String f, String l, boolean b) {
	username = u;
	firstname = f;
	lastname = l;
	isadmin = b;
	}

  public void setUsername(String a) {
    username = a;
  }
  public void setFirstname(String a) {
    firstname = a;
  }
  public void setLastname(String a) {
    lastname = a;
  }
  public void setAdmin(boolean a) {
    isadmin = a;
  }

  public String getUsername() {
    return(username);
  }
  public String getFirstname() {
    return(firstname);
  }
  public String getLastname() {
    return(lastname);
  }
  public boolean isAdmin() {
    return(isadmin);
  }
}







